﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="bind.aspx.cs" Inherits="He.Web.user.oauth.qq.bind" %>

<%@ Register Src="/user/_head.ascx" TagPrefix="uc" TagName="_head" %>
<%@ Register Src="../../_sidebar.ascx" TagPrefix="uc" TagName="_sidebar" %>
<%@ Register Src="../../_footer.ascx" TagPrefix="uc" TagName="_footer" %>
<%@ Register Src="../../_header.ascx" TagPrefix="uc" TagName="_header" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>QQ绑定</title>
    <uc:_head runat="server" ID="uc_head" />
    <script src="../../js/jquery.cookie.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#form1').Validform();
            //$('#txtUserName').val($.cookie('username'));
        });
    </script>
</head>
<body>
    <uc:_header runat="server" ID="uc_header" />
    <form id="form1" runat="server">
    <div class="boxwrap">
        <uc:_sidebar runat="server" ID="uc_sidebar" />
        <div class="right757">
            <h1 class="main_tit">
                <span><a href="/user/exit.aspx">退出</a></span> 会员中心 <strong>Profile</strong>
            </h1>
            <div class="main_head">
                <div class="left">
                    <%if (string.IsNullOrEmpty(Member.qq_openid.Trim('\'')))
                      { %>
                    <a href="send.aspx?rtn=bind">
                        <img src="../../images/qq_bind.gif"></a>
                    <p>
                        点击按钮，立刻绑定QQ帐号</p>
                    <%}
                      else
                      { %>
                    <table class="myform" width="100%">
                        <tr>
                            <td align="center">
                                <img src="<%=Member.figure_url %>" /><br />
                                <br />
                                <asp:Button ID="btnRelieve" Text="解除绑定" OnClick="btnRelieve_Click" OnClientClick="return confirm('确定要解除和您QQ的绑定吗?')"
                                    CssClass="btn_submit" runat="server" />
                            </td>
                        </tr>
                    </table>
                    <%} %>
                    <p>
                        <asp:Label ID="lblMsg" ForeColor="Red" runat="server" />
                    </p>
                </div>
                <div class="right">
                    <h2>
                        使用QQ帐号绑定本站，您可以...</h2>
                    <dl>
                        <dt>用QQ帐号轻松登录</dt>
                        <dd>
                            无需记住本站的帐号和密码，随时使用QQ帐号密码轻松登录。</dd>
                        <dt>轻松找回账号密码</dt>
                        <dd>
                            在忘记账号密码的情况下，使用QQ登录轻松找回。
                        </dd>
                    </dl>
                </div>
                <div class="clear">
                </div>
            </div>
            <div class="line20">
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    </form>
    <uc:_footer runat="server" ID="uc_footer" />
</body>
</html>
